#include "common.h"

using std::cout;
using std::endl;
using std::cin;

void Test()
{
	std::vector<Monster> monsterVector(InitalMonsterCount);
	Hero hero;

	cout << "hero is create" << endl;
	cout << "input 1 for attack / 2 for defense " << endl;
	int choose;
	cin >> choose;

	switch (choose)
	{
	case 1:
	{
		monsterVector.front().Attacked(10);
		if (monsterVector.front().Bleed() <= 0)
			monsterVector.erase(monsterVector.begin());
		break;
	}
	case 2:
		hero.Defense();
		break;
	}

}





int main()
{
	Test();
	return 0;
}


